package cn.wxq.daily.empdailymgforserve.service.impl;

import cn.wxq.daily.empdailymgforserve.domain.SysDept;
import cn.wxq.daily.empdailymgforserve.mapper.SysDeptDao;
import cn.wxq.daily.empdailymgforserve.service.SysDeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysDeptServiceImpl implements SysDeptService {
    @Autowired
    private SysDeptDao sysDeptDao;
    @Override
    public List<SysDept> selectDeptAll() {
        return sysDeptDao.selectDeptAll();
    }
}
